package com.homeassistant.application;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.homeassistant.application.R;

public class WelcomeActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.welcome);

		new Handler().postDelayed(new Runnable() {
			public void run() {
				Intent intent = new Intent();
				intent.setClass(WelcomeActivity.this, HomeActivity.class);
				startActivity(intent);
				WelcomeActivity.this.finish();
			}
		}, 2000);
	}
}